import { defineStore } from "pinia";
import { ref } from "vue";

export const useImageList = defineStore('imgList',() => {
	//声明数据
	const list = ref([])
	//方法
	const setList = (arr) => list.value = arr
	//导出
	return {list,setList}
})